package com.atguigu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan(basePackages = "com.atguigu.dao")//指定要变成实现类的接口所在的包，包里的接口在编译后都会生成对应的实现类
@EnableTransactionManagement
public class ApplicationCase {
    public static void main(String[] args) {
        SpringApplication.run(ApplicationCase.class,args) ;
    }
}
